﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Tasks;

namespace SLRTHackathon.Views
{
    public partial class CarDockPage : PhoneApplicationPage
    {
        public CarDockPage()
        {
            InitializeComponent();
        }

        private void MusicBtn_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/Views/MusicPage.xaml", UriKind.RelativeOrAbsolute));
        }

        private void LocationBtn_Click(object sender, RoutedEventArgs e)
        {
            BingMapsTask bingMapsTest = new BingMapsTask();
            bingMapsTest.SearchTerm = "Cluj";
            bingMapsTest.Show();
        }

        private void CallBtn_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/Views/CallPage.xaml", UriKind.RelativeOrAbsolute));
        }


        private void BackBtn_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/Views/WelcomePage.xaml", UriKind.RelativeOrAbsolute));
        }
    }
}